﻿using AVCUMPlatform.Entities;
using AVCUMPlatform.WXService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVCUMPlatform.WXService.Interface
{
    public interface IWXPlatformApiHelper
    {
        /// <summary>
        /// 获取所有微信消息模板
        /// </summary>
        /// <returns></returns>
        AllPrivateTemplates GetAllPrivateTemplate();

        /// <summary>
        /// 发布菜单
        /// </summary>
        WXRes PublishMenu(string firstMenuName);

        /// <summary>
        /// 发送模板消息
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        SendTemplateMsgRes SendTemplateMsg(WXTemplateMsgRM data);
    }
}
